import {Base} from '../../utils/base.js';

class Theme extends Base{

  // 构造函数
  constructor(){
    super();
  }

  // 获取主题详情
  getThemeDetail(themeId, callback) {
    var params = {
      url : 'theme/detail/' + themeId,
      sCallback: function(res) {
        callback && callback(res.data);
      }
    };
    this.request(params);
  }
}

export {Theme};